package com.project.bean;

/**
 * 用户实体类
 */
public class UserBean {
    //用户id
    private Integer userId;
    //名字
    private String name;
    //部门
    private String dept;
    private String user;
    private String password;
    //职位
    private String job;

    public UserBean() {
    }

    public UserBean(String name, String dept, String user, String password, String job) {
        this.name = name;
        this.dept = dept;
        this.user = user;
        this.password = password;
        this.job = job;
    }


    public UserBean(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", name='" + name + '\'' +
                ", dept='" + dept + '\'' +
                ", user='" + user + '\'' +
                ", password='" + password + '\'' +
                ", job='" + job + '\'' +
                '}';
    }
}
